package com.tangkeyon.service;

import com.tangkeyon.common.ResponseCode;

import java.util.Map;

/**
 * @Author: tangkeyon@gmail.com
 * @Date: 2019/6/14 19:17
 * @Version 1.0
 */
public interface IOrderService {
    ResponseCode pay(Integer userId,Long orderId,String path);

    ResponseCode alipayCallBack(Map<String,String> paramMap);

    ResponseCode<Boolean> queryOrderStatus(Integer userId,Long orderId);

    ResponseCode create(Integer userId,Integer shippingId);

    ResponseCode cancel(Integer userId,Long orderNo);

    ResponseCode getOrderCartProduct(Integer userId);

    ResponseCode detail(Integer userId,Long orderId);

    ResponseCode list(Integer userId,Integer pageSize,Integer pageNum);




    ResponseCode manageOrderList(Integer pageSize,Integer pageNum);

    ResponseCode manageDetail(Long orderNo);

    ResponseCode searchOrder(Long orderNo,Integer pageSize,Integer pageNum);

    ResponseCode<String> orderSendGoods(Long orderNo);
}
